x86: Allow PV superpages to work with live migration
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 18 May 2010 10:24:04 +0000 (11:24 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 18 May 2010 10:24:04 +0000 (11:24 +0100)
commit5b97152a14ab5fc47abb916d26b4490f2c9a7fff
treeabdcd59558696a2c5ebb5052a5baf0b51c529fe3
parent8e2742a55ce01e5bd76ed8befd314d000c79267b
x86: Allow PV superpages to work with live migration

PV superpages currently do not work with live migration.  They fall
over dead when the shadow page table is enabled for dirty tracking.
The HVM support for superpages in this code has been tested and found
to work just fine for PV superpages.  This patch modifies the test
macro to allow the code to work with PV superpages.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/include/asm-x86/guest_pt.h